package com.woniuxy.common.exception;

import com.woniuxy.common.enums.ResultCode;
import lombok.Getter;

/**
 * 书城自定义异常类
 */
@Getter
public class BookBusinessException extends RuntimeException {

    // 自定义结果接口
    private ResultCode resultCode;

    public BookBusinessException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }

}
